.powercord-product {
  padding: 20px;
  margin-bottom: 20px;

  &-header {
    display: flex;
    margin-bottom: 10px;

    h4 {
      font-size: 18px;
      line-height: 24px;
      flex: 1;
    }
  }

  &-details {
    .description, .metadata > div {
      display: flex;
      align-items: center;

      > div {
        display: inline;
        margin-right: 10px;
      }
    }

    .metadata {
      .version span + div {
        margin-left: 5px;
        color: #faa61a;
      }

      .license span + div {
        cursor: pointer;
        margin-left: 5px;
        width: 14px;
        height: 14px;
      }
    }
  }

  &-permissions {
    flex-wrap: nowrap;
    flex-direction: column;

    .item {
      display: flex;
      align-items: center;
      width: 100%;
      margin-bottom: 7px;

      > svg {
        width: 22px;
        height: 22px;
        margin-right: 5px;
      }
    }
  }

  &-footer {
    display: flex;

    .buttons {
      margin-left: auto;
    }
  }

  .description, .metadata, &-permissions, &-footer {
    margin-top: 20px;
  }

  &s-modal {
    color: var(--text-normal);

    ul {
      margin-top: 25px;
      padding-left: 20px;
      list-style-type: initial;

      li {
        margin: 5px 0;
      }
    }
  }

  &-license-modal {
    color: var(--text-normal);

    &-data {
      margin-top: 25px;
      margin-bottom: 20px;

      &.permissions span:before {
        background-color: #43b581;
      }

      &.limitations span:before {
        background-color: #f04747;
      }

      &.conditions span:before {
        background-color: #7289da;
      }
    }

    &-entry {
      margin-top: 20px;
      margin-bottom: 20px;

      span {
        display: flex;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 5px;
        align-items: center;

        &:before {
          content: '';
          width: 8px;
          height: 8px;
          margin-right: 10px;
          border-radius: 50%;
          background-color: #fff;
        }
      }
    }

    &-card {
      text-align: center;
      margin-top: 20px;
      margin-bottom: 40px;
      padding: 10px;
      border-color: #e19517;
      background-color: rgba(225, 149, 23, .15);
    }
  }
}
